package com.mf.all.mapper;

import com.mf.all.entity.dto.DtoRolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mf.all.entity.req.basic.ReqPermissionByRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 角色权限关联关系
 *
 * @date 2025-04-02 22:36:49
 */
@Mapper
public interface MapperRolePermission extends BaseMapper<DtoRolePermission> {

    /**
     * 角色绑定权限
     */
    void permissionByRole(@Param("reqPermissionByRole") ReqPermissionByRole reqPermissionByRole);
}
